From: Federico Mena Quintero Date: Tue, 4 Jan 2011 19:34:54 +0000 (-0500) Subject: Add an 'rt' command to the Run dialog to reload the theme X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~9311 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=77289737c51b42047cd56ed7e78ff9fbadce9c96;p=gnome-shell.git Add an 'rt' command to the Run dialog to reload the theme This should be useful for theme authors who want to quickly reload the theme without restarting the whole shell. Signed-off-by: Federico Mena Quintero https://bugzilla.gnome.org/show_bug.cgi?id=630428 --- diff --git a/js/ui/runDialog.js b/js/ui/runDialog.js index aae73924a..d09639ceb 100644 --- a/js/ui/runDialog.js +++ b/js/ui/runDialog.js @@ -207,6 +207,11 @@ RunDialog.prototype = { 'debugexit': Lang.bind(this, function() { Meta.exit(Meta.ExitCode.ERROR); + }), + + // rt is short for "reload theme" + 'rt': Lang.bind(this, function() { + Main.loadTheme(); }) };